import request from '@/utils/request'

// 获取提现列表
export const getCashOutListt = (data) => {
  return request({
    url: '/cashOut/cashOutList',
    method: 'get',
    params:data
  })
}


// 提现审核
export const auditCashOutInfo = (data) => {
  return request({
    url: '/cashOut/auditCashOutInfo',
    method: 'put',
    data:data
  })
}

// 处理
export const dealCashOutInfo = (data) => {
  return request({
    url: '/cashOut/dealCashOutInfo',
    method: 'put',
    data:data
  })
}


// 导出
export const cashOutExport = (data) => {
  return request({
    url: '/cashOut/cashOutExport',
    method: 'get',
    params:data
  })
}

// 批量处理
export const batchDealCashOutInfo = (data) => {
  return request({
    url: '/cashOut/batchDealCashOutInfo',
    method: 'put',
    data:data
  })
}


// 批量同意
export const batchAuditPassCashOutInfo = (data) => {
  return request({
    url: '/cashOut/batchAuditPassCashOutInfo',
    method: 'put',
    data:data
  })
}
